/**
 * @description: 登录接口参数
 */
export interface LoginParams {
  username: string;
  password: string;
  captchaVerification: string;
}

/**
 * @description: 短信登录接口参数
 */
export interface SmsLoginParams {
  mobile: number;
  code: number;
}

/**
 * @description: 登录接口返回值
 */
export interface LoginResultModel {
  userId: string | number;
  accessToken: string;
  refreshToken: string;
  expiresTime: number;
}

/**
 * @description: 获取用户信息返回值
 */
export interface GetUserInfoModel {
  roles: string[];
  permissions: string[];
  menus: any[];
  // 用户id
  user: userModel;
}

export interface userModel {
  id: string | number;
  avatar: string;
  nickname: string;
  deptId: string | number;
}
